package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 自有监控点信息对象 zhsl_camerasself
 *
 * @author ruoyi
 * @date 2021-03-09
 */
public class YsyCamerasself extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Long id;
    private Long proId;

    /**
     * 通道号
     */
    @Excel(name = "通道号")
    private Integer channel;

    /**
     * 设备序列号
     */
    @Excel(name = "设备序列号")
    private String serial;

    /**
     * 摄像头名称
     */
    @Excel(name = "摄像头名称")
    private String cname;

    /**
     * 平台类型
     */
    @Excel(name = "平台类型")
    private Integer ptype;

    /**
     * 平台类型
     */
    @Excel(name = "设备类型")
    private Integer ctype;

    /**
     * 平台api基础地址
     */
    @Excel(name = "平台api基础地址")
    private String apiurl;

    /**
     * 直播流地址
     */
    @Excel(name = "直播流地址")
    private String streamurl;

    /**
     * 平台api文档地址
     */
    @Excel(name = "平台api文档地址")
    private String apidocurl;

    /**
     * 平台key
     */
    @Excel(name = "平台key")
    private String appkey;

    /**
     * 平台Secret
     */
    @Excel(name = "平台Secret")
    private String appsecret;

    /**
     * 区域id
     */
    @Excel(name = "区域id")
    private String areaid;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setChannel(Integer channel) {
        this.channel = channel;
    }

    public Integer getChannel() {
        return channel;
    }

    public void setSerial(String serial) {
        this.serial = serial;
    }

    public String getSerial() {
        return serial;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public String getCname() {
        return cname;
    }

    public void setPtype(Integer ptype) {
        this.ptype = ptype;
    }

    public Integer getPtype() {
        return ptype;
    }

    public void setApiurl(String apiurl) {
        this.apiurl = apiurl;
    }

    public Integer getCtype() {
        return ctype;
    }

    public void setCtype(Integer ctype) {
        this.ctype = ctype;
    }

    public String getApiurl() {
        return apiurl;
    }

    public void setStreamurl(String streamurl) {
        this.streamurl = streamurl;
    }

    public String getStreamurl() {
        return streamurl;
    }

    public void setApidocurl(String apidocurl) {
        this.apidocurl = apidocurl;
    }

    public String getApidocurl() {
        return apidocurl;
    }

    public void setAppkey(String appkey) {
        this.appkey = appkey;
    }

    public String getAppkey() {
        return appkey;
    }

    public void setAppsecret(String appsecret) {
        this.appsecret = appsecret;
    }

    public String getAppsecret() {
        return appsecret;
    }

    public String getAreaid() {
        return areaid;
    }

    public void setAreaid(String areaid) {
        this.areaid = areaid;
    }

    public Long getProId() {
        return proId;
    }

    public void setProId(Long proId) {
        this.proId = proId;
    }

    @Override
    public String toString() {
        return "YsyCamerasself{" +
                "id=" + id +
                ", proId=" + proId +
                ", channel=" + channel +
                ", serial='" + serial + '\'' +
                ", cname='" + cname + '\'' +
                ", ptype=" + ptype +
                ", ctype=" + ctype +
                ", apiurl='" + apiurl + '\'' +
                ", streamurl='" + streamurl + '\'' +
                ", apidocurl='" + apidocurl + '\'' +
                ", appkey='" + appkey + '\'' +
                ", appsecret='" + appsecret + '\'' +
                ", areaid=" + areaid +
                '}';
    }
}
